<template>
    <div>
        <h1>home</h1>
        <button @click="goToMenu" class="btn btn-success"> Let's order!</button>
    </div>
</template>

<script>
 export default {
   data () {
     return {

     }
   },
   components: {

   },
   methods:{
       goToMenu(){
           //跳转到上一一次浏览的页面
           this.$router.go(-1)
       }
   }
 }
</script>

<style scoped>

 
</style>
